package com.cool.shark.mapper;

import com.cool.shark.pojo.dto.AddressAddDto;
import com.cool.shark.pojo.entity.Address;
import com.cool.shark.pojo.vo.AddressByIdVo;

import java.util.List;

/**
 * @Name: AddressMapper
 * @Author: 西风残叶
 * @Date: 2024/4/28 18:49
 * @Version: 1.0
 * @TODO: TODO
 */

public interface AddressMapper {
    int insert(Address address);

    int selectByUserIdAndTitle(AddressAddDto addressAddDto);

    List<AddressByIdVo> listSelectById(Long id);
}
